package com.ruoyi.web.model;

import javax.persistence.*;
import java.time.LocalDate;

@Entity
@Table(name = "cnid_source_detail")  // 具体的数据库表
public class C2CnidResourceDetail extends BaseResourceDetail {

    // 无需重新声明字段，继承父类的所有字段
    public C2CnidResourceDetail() {}

    public C2CnidResourceDetail(long id, String processName, String version, double max90, double max95, double max97, LocalDate date) {
        super.setId(id);
        super.setProcessName(processName);
        super.setVersion(version);
        super.setMax90(max90);
        super.setMax95(max95);
        super.setMax97(max97);
        super.setDate(date);
    }
}


